
package ro.qi.framework.sys.security.entities;

import java.util.Date;

import ro.qi.framework.sys.entities.Entity;

public class SecurityAccountRoleACL extends Entity {

	public SecurityAccountRoleACL() {
		super();
	}

	public SecurityAccountRoleACL(int accountId, int roleId) {
		super();
		setAccountId(accountId);
		setRoleId(roleId);
		select();
	}

	public void setAccountId(int value) {
		setValue("accountId", value);
	}

	public int getAccountId() {
		return getIntValue("accountId");
	}

	public void setRoleId(int value) {
		setValue("roleId", value);
	}

	public int getRoleId() {
		return getIntValue("roleId");
	}

	public Date getCreatedTime() {
		return getDateValue("createdTime");
	}

	public Date getUpdatedTime() {
		return getDateValue("updatedTime");
	}

}
